package com.zhuss.want.db.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.bo.SearchKeyWordBo;
import com.zhuss.bean.bo.want.want.SearchWantBo;
import com.zhuss.bean.bo.want.want.wechat.ListWantBo;
import com.zhuss.bean.vo.DetailKeyWordVo;
import com.zhuss.bean.vo.want.want.DetailWantVo;
import com.zhuss.bean.vo.want.want.ListWantVo;
import com.zhuss.want.db.entity.Want;
import com.zhuss.want.db.dao.gen.WantMapper;

@Mapper
public interface WantDao extends WantMapper {
	
	void create(Want record);
	
	void delete(Want record);
	
	List<Want> listAll(@Param("area") Integer area);

	List<ListWantVo> list(SearchWantBo bo);

	Integer countList(SearchWantBo bo);

	DetailWantVo detail(@Param("wantId") Long wantId);

	List<DetailWantVo> listWant(ListWantBo bo);
	
	Integer countWantList(ListWantBo bo);
	
	List<DetailKeyWordVo> keyWord(SearchKeyWordBo bo);
	
	Integer countKeyWord(SearchKeyWordBo bo);
    
}